/**
 * 
 */
package com.videoshare.multimedia;

/**
 * @author Administrator
 *
 */
import org.apache.struts.action.*;
import javax.servlet.http.*;
import org.apache.commons.logging.*;
import java.util.*;

public class MultimediaContentForm extends ActionForm
{
	
	private static Log log = LogFactory.getLog(MultimediaContentForm.class);
	
	private List resource = null;
	
	private String [] selectedResource = null;
	private int page = 0;
	
	
	public void reset(ActionMapping mapping, HttpServletRequest request)
	{
		
		resource = null;
		
		selectedResource = null;
		page = 0;
		
		log.trace("reset");
	}


	/**
	 * @return Returns the resource.
	 */
	public List getResource() {
		return resource;
	}


	/**
	 * @param resource The resource to set.
	 */
	public void setResource(List resource) {
		this.resource = resource;
	}


	/**
	 * @return Returns the page.
	 */
	public int getPage() {
		return page;
	}


	/**
	 * @param page The page to set.
	 */
	public void setPage(int page) {
		this.page = page;
	}


	

	/**
	 * @param selectedResource The selectedResource to set.
	 */
	public void setSelectedResource(String[] selectedResource) {
		this.selectedResource = selectedResource;
	}


	/**
	 * @return Returns the selectedResource.
	 */
	public String[] getSelectedResource() {
		return selectedResource;
	}
}
